function NodeOpenListTest() {
	
	var assert = new Assert();
	
	this.testGetLowestFNode = function() {
		nol = new NodeOpenList(10,10);
		nol.add(new Node(1,1,1,1)); //f=2;
		nol.add(new Node(1,2,1,0)); //f=1;
		nol.add(new Node(2,3,3,4)); //f=7;
		nol.add(new Node(4,3,3,2)); //f=5;
		
		n = nol.getLowestFNode();
		assert.assertTrue(n.equals(new Node(1,2,0,0)),"Lowest F node should pe at (1,2)");
		assert.assertEquals(1,n.getF(),"Lowest F should be 1");
	};
	
	this.testRemove = function() {
		nol = new NodeOpenList(10,10);
		nol.add(new Node(1,1,1,1)); //f=2;
		nol.add(new Node(1,2,1,0)); //f=1;
		nol.add(new Node(2,3,3,4)); //f=7;
		nol.add(new Node(4,3,3,2)); //f=5;
		
		n = nol.getLowestFNode();
		assert.assertTrue(n.equals(new Node(1,2,0,0)),"Lowest F node should pe at (1,2)");
		assert.assertEquals(1,n.getF(),"Lowest F should be 1");
		
		nol.remove(1,2);
		
		n = nol.getLowestFNode();
		assert.assertTrue(n.equals(new Node(1,1,0,0)),"Lowest F node should pe at (1,1)");
		assert.assertEquals(2,n.getF(),"Lowest F should be 2, was "+n.getF());
	};
}